import request from "@/utils/request";

// 查询列表
export function getQbChangeList(query) {
  return request({
    url: "/qb/variationOrder/list",
    method: "get",
    params: query,
  });
}
// 删除
export function delQbChangeList(ids) {
  return request({
    url: "/qb/variationOrder/" + ids,
    method: "delete",
  });
}

// 查询详细
export function getQbChangeListItem(ids) {
  return request({
    url: "/qb/variationOrder/" + ids,
    method: "get",
  });
}

// 新增
export function addQbChangeListItem(data) {
  return request({
    url: "/qb/variationOrder/insert",
    method: "post",
    data: data,
  });
}

// 修改
export function updateQbChangeListItem(data) {
  return request({
    url: "/qb/variationOrder/update",
    method: "put",
    data: data,
  });
}
